package com.nov.multidatasource.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @ClassName RunBatchConfig
 * @Description TODO
 * @Author cxn
 * @CreateTime 2024/12/24 15:15
 * @Since 1.0.0
 */
@Data
@ConfigurationProperties(prefix = "run-batch")
public class RunBatchConfig {

    /**
     * tims3.0原来的保存文件的路径
     */
    private String v3FilePath = "D:/tchzt/cm_service";
    /**
     * tims6.0保存文件的路径
     */
    private String v6FilePath = "/data/img";
    /**
     * 跑批时间起点
     */
    private String runTimeStart = "2018-07-23 00:00:00.000000";
    /**
     * 跑批时间终点
     */
    private String runTimeEnd = "2018-07-23 59:59:59.740000";
    /**
     * tims6.0对应发票目录ID
     */
    private String folderInvoiceId = "1688457667534213121";
    /**
     * tims6.0对应附件目录ID
     */
    private String folderOtherId = "1851758384485683201";

    /**
     * nginx 路径
     */
    private String nginxUriPath = "172.20.100.20:8001/tecrun/vfs/";
    /**
     * 每个线程处理数据的的条数
     */
    private String threadHandlerDataLimit = "100";
    /**
     * 定时任务执行时间
     */
    private String taskTimeCornExecution = "0 30 22**?";

    /**
     * 异常日志路径
     */
    private String fileDownloadErrorPath = "/home/tecrun/jenkins_publish/tims-ai/logs/";

    /**
     * OBS存储
     */
    private String obsAccessKey = "T1N8HISKUQZJGCLRA42E";

    private String obsSecretKey = "h5vHPzdwwQzU6QxY6oy8RyVG8jd9Q8jmOJmUpFIK";

    private String obsEndPoint = "https://obs.cn-southwest-297.enterprise.gafzcloud.com";

    private String obsBucketName = "shuz-yonbip-storagedata";

    /**
     * 1 开启 0 未开启
     */
    private String obsSynOpen = "1";


}
